<!--
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->


<!doctype html>
<html id="ng-app">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <!-- HTTP 1.1 -->
  <meta http-equiv="pragma" content="no-cache">
  <!-- HTTP 1.0 -->
  <meta http-equiv="cache-control" content="no-cache">
  <meta name="format-detection" content="telephone=no">
  <base href="/kylin/">
  <link rel="icon" href="image/favicon.ico" type="image/x-icon">
  <link rel="shortcut icon" href="image/favicon.ico" type="image/x-icon">
  <title>Kylin</title>

  <!-- ref:css css/styles.min.<%= buildNumber %>.css -->
  <link rel="stylesheet" type="text/css" href="components/bootstrap/dist/css/bootstrap.min.css">
  <link rel="stylesheet" type="text/css" href="components/components-font-awesome/css/font-awesome.css">

  <link rel="stylesheet" type="text/css" href="components/angular-tree-control/css/tree-control.css">
  <link rel="stylesheet" type="text/css" href="components/angular-tree-control/css/tree-control-attribute.css">
  <link rel="stylesheet" type="text/css" href="components/messenger/build/css/messenger.css">
  <link rel="stylesheet" type="text/css" href="css/messenger-theme-ice.css">
  <link rel="stylesheet" type="text/css" href="components/ng-grid/ng-grid.css">
  <link rel="stylesheet" type="text/css" href="components/angular-ui-grid/ui-grid.min.css">
  <link rel="stylesheet" type="text/css" href="components/chosen/chosen.css">
  <link rel="stylesheet" type="text/css" href="components/angular-chosen-localytics/chosen-spinner.css">
  <link rel="stylesheet" type="text/css" href="components/animate.css/animate.css">
  <link rel="stylesheet" type="text/css" href="components/nvd3/build/nv.d3.min.css">

  <link rel="stylesheet" type="text/css" href="css/AdminLTE.css">
  <link rel="stylesheet" type="text/css" href="components/bootstrap-sweetalert/lib/sweet-alert.css">
  <link rel="stylesheet" type="text/css" href="components/angular-bootstrap-nav-tree/dist/abn_tree.css">
  <link rel="stylesheet" type="text/css" href="components/angular-toggle-switch/angular-toggle-switch.css">
  <link rel="stylesheet" type="text/css" href="components/angular-ui-select/dist/select.css">
  <link rel="stylesheet" type="text/css" href="components/angular-bootstrap-datetimepicker/src/css/datetimepicker.css">
  <link rel="stylesheet" type="text/css" href="components/bootstrap-daterangepicker/daterangepicker-bs3.css" />
  <link rel="stylesheet" type="text/css" href="components/ng-tags-input/ng-tags-input.min.css">

  <link rel="stylesheet/less" href="less/build.less">
  <!-- endref -->

  <!-- This has to be at the top to make it works in IE   -->
  <!--[if lte IE 8]>
  <script>
    document.createElement('loading');
    document.createElement('pagination');
  </script>
  <![endif]-->
</head>

<body ng-controller="PageCtrl">

<div class="navbar navbar-default navbar-fixed-top" ng-include="'partials/header.html'"></div>
<div id="main" class="main-container">
  <div class="main-content">
    <div class="page-content" ng-view></div>
  </div>
</div>
<footer class="navbar-fixed-bottom navbar-footer" ng-include="'partials/footer.html'"></footer>

<!-- ref:js js/scripts.min.<%= buildNumber %>.js -->
<script src="components/jquery/dist/jquery.js"></script>
<script src="components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="components/angular/angular.js"></script>
<script src="components/angular-animate/angular-animate.min.js"></script>
<script src="components/angular-route/angular-route.js"></script>
<script src="components/angular-resource/angular-resource.js"></script>
<script src="components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
<script src="components/angular-cookies/angular-cookies.js"></script>
<script src="components/angularLocalStorage/src/angularLocalStorage.js"></script>
<script src="components/angular-base64/angular-base64.js"></script>
<script src="components/ng-grid/build/ng-grid.js"></script>
<script src="components/angular-tree-control/angular-tree-control.js"></script>
<script src="components/ace-builds/src-min-noconflict/ace.js"></script>
<script src="components/ace-builds/src-noconflict/ext-language_tools.js"></script>
<script src="components/ace-builds/src-min-noconflict/mode-json.js"></script>
<script src="components/ace-builds/src-min-noconflict/mode-sql.js"></script>
<script src="components/angular-ui-ace/ui-ace.js"></script>
<script src="components/messenger/build/js/messenger.min.js"></script>
<script src="components/messenger/build/js/messenger-theme-future.js"></script>

<script src="components/chosen/chosen.jquery.min.js"></script>
<script src="components/angular-chosen-localytics/chosen.js"></script>

<script src="components/moment/moment.js"></script>
<script src="components/d3/d3.min.js"></script>
<script src="components/nvd3/build/nv.d3.min.js"></script>
<script src="components/bootstrap-sweetalert/lib/sweet-alert.js"></script>
<script src="components/angular-sweetalert/SweetAlert.js"></script>
<script src="components/underscore/underscore.js"></script>
<script src="components/angular-underscore/angular-underscore.js"></script>
<script src="components/jquery-ui/jquery-ui.min.js"></script>
<script src="components/angular-ui-sortable/sortable.js"></script>
<script src="components/angular-toggle-switch/angular-toggle-switch.js"></script>
<script src="components/angular-sanitize/angular-sanitize.js"></script>
<script src="components/angular-nvd3/dist/angular-nvd3.js"></script>
<script src="components/moment-timezone/builds/moment-timezone-with-data.js"></script>
<script src="components/bootstrap-daterangepicker/daterangepicker.js"></script>
<script src="components/ng-tags-input/ng-tags-input.min.js"></script>

<script src="js/app.js"></script>
<script src="js/config.js"></script>
<script src="js/listeners.js"></script>
<script src="js/filters/filter.js"></script>
<script src="js/directives/directives.js"></script>
<script src="js/directives/kylin_abn_tree_directive.js"></script>
<script src="js/directives/angular-tree-control.js"></script>
<script src="js/directives/datetimepicker.js"></script>
<script src="js/directives/select.js"></script>
<script src="js/directives/ui-grid.js"></script>

<script src="js/services/cache.js"></script>
<script src="js/services/message.js"></script>
<script src="js/services/access.js"></script>
<script src="js/services/admin.js"></script>
<script src="js/services/kylinProperties.js"></script>
<script src="js/services/auth.js"></script>
<script src="js/services/cubeDesc.js"></script>
<script src="js/services/model.js"></script>
<script src="js/services/encodings.js"></script>
<script src="js/services/cubes.js"></script>
<script src="js/services/streaming.js"></script>
<script src="js/services/jobs.js"></script>
<script src="js/services/message.js"></script>
<script src="js/services/projects.js"></script>
<script src="js/services/query.js"></script>
<script src="js/services/tables.js"></script>
<script src="js/services/tree.js"></script>
<script src="js/services/users.js"></script>
<script src="js/services/ngLoading.js"></script>
<script src="js/services/acl.js"></script>
<script src="js/services/notify.js"></script>
<!--New GUI-->
<script src="js/services/models.js"></script>
<script src="js/services/hybridInstance.js"></script>
<script src="js/services/dashboard.js"></script>
<script src="js/services/instance.js"></script>
<script src="js/services/userGroup.js"></script>

<script src="js/model/cubeConfig.js"></script>
<script src="js/model/jobConfig.js"></script>
<script src="js/model/projectConfig.js"></script>
<script src="js/model/tableConfig.js"></script>
<script src="js/model/streamingModel.js"></script>
<script src="js/model/streamingListModel.js"></script>
<!--New GUI-->
<script src="js/model/modelConfig.js"></script>

<script src="js/model/cubeDescModel.js"></script>
<script src="js/model/metaModel.js"></script>
<script src="js/model/projectModel.js"></script>
<script src="js/model/tableModel.js"></script>
<script src="js/model/cubeListModel.js"></script>
<script src="js/model/jobListModel.js"></script>
<script src="js/model/cubesManager.js"></script>
<script src="js/model/queryConfig.js"></script>
<script src="js/model/dashboardConfig.js"></script>
<script src="js/model/instanceConfig.js"></script>

<!--New GUI-->
<script src="js/model/modelsManager.js"></script>
<script src="js/model/hybridInstanceManager.js"></script>
<script src="js/services/badQuery.js"></script>
<script src="js/utils/utils.js"></script>
<script src="js/utils/liquidFillGauge.js"></script>
<script src="js/utils/response.js"></script>
<script src="js/controllers/page.js"></script>
<script src="js/controllers/index.js"></script>
<script src="js/controllers/access.js"></script>
<script src="js/controllers/auth.js"></script>
<script src="js/controllers/job.js"></script>
<script src="js/controllers/cube.js"></script>
<script src="js/controllers/cubes.js"></script>
<script src="js/controllers/projects.js"></script>
<script src="js/controllers/cubeEdit.js"></script>
<script src="js/controllers/cubeSchema.js"></script>
<script src="js/controllers/query.js"></script>
<script src="js/controllers/admin.js"></script>
<script src="js/controllers/sourceMeta.js"></script>
<script src="js/controllers/projectMeta.js"></script>
<script src="js/controllers/cubeModel.js"></script>
<script src="js/controllers/cubeDimensions.js"></script>
<script src="js/controllers/cubeRefresh.js"></script>
<script src="js/controllers/cubeAdvanceSetting.js"></script>
<script src="js/controllers/cubeOverwriteProp.js"></script>
<script src="js/controllers/cubeMeasures.js"></script>
<script src="js/controllers/acl.js"></script>

<!--New GUI-->
<script src="js/controllers/modelSchema.js"></script>
<script src="js/controllers/modelDimensions.js"></script>
<script src="js/controllers/modelDataModel.js"></script>
<script src="js/controllers/modelMeasures.js"></script>
<script src="js/controllers/modelConditionsSettings.js"></script>
<script src="js/controllers/modelRefresh.js"></script>
<script src="js/controllers/modelEdit.js"></script>

<script src="js/controllers/streamingConfig.js"></script>
<script src="js/controllers/badQuery.js"></script>

<!--New GUI-->
<script src="js/controllers/models.js"></script>
<script src="js/controllers/hybridInstanceSchema.js"></script>
<script src="js/controllers/hybridInstance.js"></script>
<script src="js/controllers/dashboard.js"></script>
<script src="js/controllers/streamingBalanceAssignGroup.js"></script>
<script src="js/controllers/adminStreaming.js"></script>
<script src="js/controllers/instances.js"></script>
<script src="js/controllers/userGroup.js"></script>
<script src="js/controllers/userProfile.js"></script>
<!-- endref -->

<!-- ref:remove -->
<script src="components/less.js/dist/less-1.4.0.min.js"></script>
<!-- endref -->

<!--template-->
<!-- static template for cube save/update result notification -->
<script type="text/ng-template" id="cubeResultError.html">
  <div class="callout">
    <h4>Error Message</h4>
    <p>{{text}}</p>
  </div>
  <div class="callout callout-danger">
    <h4>Cube Schema</h4>
    <pre>{{schema}}</pre>
  </div>
</script>

<script type="text/ng-template" id="cubeResultSuccess.html">
  <div class="callout callout-info">
    <p>{{text}}</p>
  </div>
</script>

<!--template-->
<!-- static template for cube save/update result notification -->
<script type="text/ng-template" id=" modelResultError.html">
  <div class="callout callout-info">
    <h4>Error Message</h4>
    <p>{{text}}</p>
  </div>
  <div class="callout callout-danger">
    <h4>Model Schema</h4>
    <pre>{{schema}}</pre>
  </div>
</script>

<script type="text/ng-template" id="modelResultSuccess.html">
  <div class="callout callout-info">
    <p>{{text}}</p>
  </div>
</script>

<!-- static template for hybrid cube save/update result notification -->
<script type="text/ng-template" id="hybridResultError.html">
  <div class="callout callout-info">
    <h4>Error Message</h4>
    <p>{{text}}</p>
  </div>
  <div class="callout callout-danger">
    <h4>Hybrid Instance Schema</h4>
    <pre>{{schema}}</pre>
  </div>
</script>

<script type="text/ng-template" id="hybridResultSuccess.html">
  <div class="callout callout-info">
    <p>{{text}}</p>
  </div>
</script>

<!-- static template for cube save/update result notification -->
<script type="text/ng-template" id="streamingResultError.html">
  <div class="callout">
    <h4>Error Message</h4>
    <p>{{text}}</p>
  </div>
  <div class="callout callout-danger">
    <h4>Streaming Schema</h4>
    <pre>{{streamingSchema}}</pre>
  </div>
  <div class="callout callout-danger">
    <h4>Kafka Schema</h4>
    <pre>{{kfkSchema}}</pre>
  </div>
</script>

<script type="text/ng-template" id="streamingResultSuccess.html">
  <div class="callout callout-info">
    <p>{{text}}</p>
  </div>
</script>
</body>
</html>
